<?php if (!isset($_SESSION['aut'])) { $url = "home"; } else { $url = "adm"; } ?>
<input name="voltar" type='button' class="btn" value="<?= $t_voltar_principal ?>" onClick="javascript:location.href='?pag=<?php echo $url;?>';" />